package com.hand.qiandu.domain;

import java.util.List;

/**
 * @author 24748  刘瑞锋
 * @date 2019/7/16
 */
public class Role {

    private Integer id;
    private String name;
    private Integer userId;
    private String code;
    private String description;
    private List<User> list;
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }



    public List<User> getList() {
        return list;
    }

    public void setList(List<User> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", userId=" + userId +
                ", code='" + code + '\'' +
                ", description='" + description + '\'' +
                ", list=" + list +
                '}';
    }
}

